#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QMouseEvent>
#include <QHBoxLayout>
#include <QMessageBox>
#include <QDebug>

#include "gamecontrol.h"
#include "gameview.h"

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private:
    Ui::MainWindow *ui;
    GameView *view;

    void closeGame();

private slots:
    void startGame();
    void restartGame();
};

#endif // MAINWINDOW_H
